package asteroids.expression;
import asteroids.model.programs.*;
public class Not extends BooleanOperator {

	public Not(Expression left) {
		super(left);
	}
	
	@Override
	public boolean getValue(Program program) {
		this.updateArguments(program);
		return (!(((BooleanExpression)this.arg1).getValue(program)));
	}
}